home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Resources / Developers / XAMPP 1.5.4 / Windows installer / xampp-win32-1.5.4-installer.exe / xampp / install / config.awk < prev    next >
Encoding:
AWK Script  |  2005-12-05  |  380 b   |  14 lines

  1. BEGIN {
  2.     # ORS="\\r\\n";
  3.     # SUBSTIT = "\\\\xamppcoffee";
  4.     # DIR = "D:\\xampp";
  5.     # server_cmd = "D:\\xampp\\install\\server.xml";
  6.     while (getline < CONFIG) {
  7.         sub(SUBSTIT,DIR,$0);
  8.         print $0 > CONFIGNEW
  9.     }
  10.  
  11.     # print "@rem  Installation Program, second part" > "D:\\xampp\\install\\inst.bat"
  12.     # D:\xampp\install\awk -v DIR = "C:\\xampp" -f D:\xampp\install\test.awk
  13. }
  14.